package notesDetection.GUI;

import javax.swing.JFrame;

import notesDetection.MusicAnalyzer.AnalyzeMusicFile.AnalysisPreferences;

public class CompressionSettings extends AlgorithmSettings {

	public CompressionSettings(JFrame superFrame) {
		super(superFrame, "Compression Settings", AnalysisPreferences.Compression, 0.8, 0.02,
	    		0.3, Double.NaN, 1, 1e-3);
		fieldAdvanceFactor.setEditable(false);
	}
	
	/**
	 * For compression settings: Window advance factor must be the same as window size!
	 */
	@Override
	public double getAdvanceFactor()
	{
		return getWindowSize();
	}
	
}